package com.brush.app.service;

import com.brush.app.domain.AppSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.brush.app.domain.req.Subject.add.AppSubjectAddReq;
import com.brush.app.domain.req.Subject.edit.AppSubjectEditReq;
import com.brush.app.domain.req.Subject.query.AppSubjectQueryReq;
import com.brush.app.domain.resp.Subject.AppSubjectResp;
import com.brush.app.domain.resp.Subject.AppSubjectTreeResp;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author ckq
* @description 针对表【app_subject(学科表)】的数据库操作Service
* @createDate 2024-11-01 00:32:38
*/
public interface AppSubjectService extends IService<AppSubject> {

    PageInfo<AppSubjectResp> paginationQuery(AppSubjectQueryReq req);

    AppSubjectResp findById(Long id);

    boolean add(AppSubjectAddReq req);

    boolean edit(AppSubjectEditReq req);

    boolean deleteById(Long[] ids);

    List<AppSubjectTreeResp> getAllSubject();
}
